package com.mine.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MineShopInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MineShopInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andShopNameIsNull() {
            addCriterion("shop_name is null");
            return (Criteria) this;
        }

        public Criteria andShopNameIsNotNull() {
            addCriterion("shop_name is not null");
            return (Criteria) this;
        }

        public Criteria andShopNameEqualTo(String value) {
            addCriterion("shop_name =", value, "shopName");
            return (Criteria) this;
        }

        public Criteria andShopNameNotEqualTo(String value) {
            addCriterion("shop_name <>", value, "shopName");
            return (Criteria) this;
        }

        public Criteria andShopNameGreaterThan(String value) {
            addCriterion("shop_name >", value, "shopName");
            return (Criteria) this;
        }

        public Criteria andShopNameGreaterThanOrEqualTo(String value) {
            addCriterion("shop_name >=", value, "shopName");
            return (Criteria) this;
        }

        public Criteria andShopNameLessThan(String value) {
            addCriterion("shop_name <", value, "shopName");
            return (Criteria) this;
        }

        public Criteria andShopNameLessThanOrEqualTo(String value) {
            addCriterion("shop_name <=", value, "shopName");
            return (Criteria) this;
        }

        public Criteria andShopNameLike(String value) {
            addCriterion("shop_name like", value, "shopName");
            return (Criteria) this;
        }

        public Criteria andShopNameNotLike(String value) {
            addCriterion("shop_name not like", value, "shopName");
            return (Criteria) this;
        }

        public Criteria andShopNameIn(List<String> values) {
            addCriterion("shop_name in", values, "shopName");
            return (Criteria) this;
        }

        public Criteria andShopNameNotIn(List<String> values) {
            addCriterion("shop_name not in", values, "shopName");
            return (Criteria) this;
        }

        public Criteria andShopNameBetween(String value1, String value2) {
            addCriterion("shop_name between", value1, value2, "shopName");
            return (Criteria) this;
        }

        public Criteria andShopNameNotBetween(String value1, String value2) {
            addCriterion("shop_name not between", value1, value2, "shopName");
            return (Criteria) this;
        }

        public Criteria andShopIconIsNull() {
            addCriterion("shop_icon is null");
            return (Criteria) this;
        }

        public Criteria andShopIconIsNotNull() {
            addCriterion("shop_icon is not null");
            return (Criteria) this;
        }

        public Criteria andShopIconEqualTo(String value) {
            addCriterion("shop_icon =", value, "shopIcon");
            return (Criteria) this;
        }

        public Criteria andShopIconNotEqualTo(String value) {
            addCriterion("shop_icon <>", value, "shopIcon");
            return (Criteria) this;
        }

        public Criteria andShopIconGreaterThan(String value) {
            addCriterion("shop_icon >", value, "shopIcon");
            return (Criteria) this;
        }

        public Criteria andShopIconGreaterThanOrEqualTo(String value) {
            addCriterion("shop_icon >=", value, "shopIcon");
            return (Criteria) this;
        }

        public Criteria andShopIconLessThan(String value) {
            addCriterion("shop_icon <", value, "shopIcon");
            return (Criteria) this;
        }

        public Criteria andShopIconLessThanOrEqualTo(String value) {
            addCriterion("shop_icon <=", value, "shopIcon");
            return (Criteria) this;
        }

        public Criteria andShopIconLike(String value) {
            addCriterion("shop_icon like", value, "shopIcon");
            return (Criteria) this;
        }

        public Criteria andShopIconNotLike(String value) {
            addCriterion("shop_icon not like", value, "shopIcon");
            return (Criteria) this;
        }

        public Criteria andShopIconIn(List<String> values) {
            addCriterion("shop_icon in", values, "shopIcon");
            return (Criteria) this;
        }

        public Criteria andShopIconNotIn(List<String> values) {
            addCriterion("shop_icon not in", values, "shopIcon");
            return (Criteria) this;
        }

        public Criteria andShopIconBetween(String value1, String value2) {
            addCriterion("shop_icon between", value1, value2, "shopIcon");
            return (Criteria) this;
        }

        public Criteria andShopIconNotBetween(String value1, String value2) {
            addCriterion("shop_icon not between", value1, value2, "shopIcon");
            return (Criteria) this;
        }

        public Criteria andShopNoticeIsNull() {
            addCriterion("shop_notice is null");
            return (Criteria) this;
        }

        public Criteria andShopNoticeIsNotNull() {
            addCriterion("shop_notice is not null");
            return (Criteria) this;
        }

        public Criteria andShopNoticeEqualTo(String value) {
            addCriterion("shop_notice =", value, "shopNotice");
            return (Criteria) this;
        }

        public Criteria andShopNoticeNotEqualTo(String value) {
            addCriterion("shop_notice <>", value, "shopNotice");
            return (Criteria) this;
        }

        public Criteria andShopNoticeGreaterThan(String value) {
            addCriterion("shop_notice >", value, "shopNotice");
            return (Criteria) this;
        }

        public Criteria andShopNoticeGreaterThanOrEqualTo(String value) {
            addCriterion("shop_notice >=", value, "shopNotice");
            return (Criteria) this;
        }

        public Criteria andShopNoticeLessThan(String value) {
            addCriterion("shop_notice <", value, "shopNotice");
            return (Criteria) this;
        }

        public Criteria andShopNoticeLessThanOrEqualTo(String value) {
            addCriterion("shop_notice <=", value, "shopNotice");
            return (Criteria) this;
        }

        public Criteria andShopNoticeLike(String value) {
            addCriterion("shop_notice like", value, "shopNotice");
            return (Criteria) this;
        }

        public Criteria andShopNoticeNotLike(String value) {
            addCriterion("shop_notice not like", value, "shopNotice");
            return (Criteria) this;
        }

        public Criteria andShopNoticeIn(List<String> values) {
            addCriterion("shop_notice in", values, "shopNotice");
            return (Criteria) this;
        }

        public Criteria andShopNoticeNotIn(List<String> values) {
            addCriterion("shop_notice not in", values, "shopNotice");
            return (Criteria) this;
        }

        public Criteria andShopNoticeBetween(String value1, String value2) {
            addCriterion("shop_notice between", value1, value2, "shopNotice");
            return (Criteria) this;
        }

        public Criteria andShopNoticeNotBetween(String value1, String value2) {
            addCriterion("shop_notice not between", value1, value2, "shopNotice");
            return (Criteria) this;
        }

        public Criteria andShopAddressIsNull() {
            addCriterion("shop_address is null");
            return (Criteria) this;
        }

        public Criteria andShopAddressIsNotNull() {
            addCriterion("shop_address is not null");
            return (Criteria) this;
        }

        public Criteria andShopAddressEqualTo(String value) {
            addCriterion("shop_address =", value, "shopAddress");
            return (Criteria) this;
        }

        public Criteria andShopAddressNotEqualTo(String value) {
            addCriterion("shop_address <>", value, "shopAddress");
            return (Criteria) this;
        }

        public Criteria andShopAddressGreaterThan(String value) {
            addCriterion("shop_address >", value, "shopAddress");
            return (Criteria) this;
        }

        public Criteria andShopAddressGreaterThanOrEqualTo(String value) {
            addCriterion("shop_address >=", value, "shopAddress");
            return (Criteria) this;
        }

        public Criteria andShopAddressLessThan(String value) {
            addCriterion("shop_address <", value, "shopAddress");
            return (Criteria) this;
        }

        public Criteria andShopAddressLessThanOrEqualTo(String value) {
            addCriterion("shop_address <=", value, "shopAddress");
            return (Criteria) this;
        }

        public Criteria andShopAddressLike(String value) {
            addCriterion("shop_address like", value, "shopAddress");
            return (Criteria) this;
        }

        public Criteria andShopAddressNotLike(String value) {
            addCriterion("shop_address not like", value, "shopAddress");
            return (Criteria) this;
        }

        public Criteria andShopAddressIn(List<String> values) {
            addCriterion("shop_address in", values, "shopAddress");
            return (Criteria) this;
        }

        public Criteria andShopAddressNotIn(List<String> values) {
            addCriterion("shop_address not in", values, "shopAddress");
            return (Criteria) this;
        }

        public Criteria andShopAddressBetween(String value1, String value2) {
            addCriterion("shop_address between", value1, value2, "shopAddress");
            return (Criteria) this;
        }

        public Criteria andShopAddressNotBetween(String value1, String value2) {
            addCriterion("shop_address not between", value1, value2, "shopAddress");
            return (Criteria) this;
        }

        public Criteria andScheduleIsNull() {
            addCriterion("schedule is null");
            return (Criteria) this;
        }

        public Criteria andScheduleIsNotNull() {
            addCriterion("schedule is not null");
            return (Criteria) this;
        }

        public Criteria andScheduleEqualTo(Byte value) {
            addCriterion("schedule =", value, "schedule");
            return (Criteria) this;
        }

        public Criteria andScheduleNotEqualTo(Byte value) {
            addCriterion("schedule <>", value, "schedule");
            return (Criteria) this;
        }

        public Criteria andScheduleGreaterThan(Byte value) {
            addCriterion("schedule >", value, "schedule");
            return (Criteria) this;
        }

        public Criteria andScheduleGreaterThanOrEqualTo(Byte value) {
            addCriterion("schedule >=", value, "schedule");
            return (Criteria) this;
        }

        public Criteria andScheduleLessThan(Byte value) {
            addCriterion("schedule <", value, "schedule");
            return (Criteria) this;
        }

        public Criteria andScheduleLessThanOrEqualTo(Byte value) {
            addCriterion("schedule <=", value, "schedule");
            return (Criteria) this;
        }

        public Criteria andScheduleIn(List<Byte> values) {
            addCriterion("schedule in", values, "schedule");
            return (Criteria) this;
        }

        public Criteria andScheduleNotIn(List<Byte> values) {
            addCriterion("schedule not in", values, "schedule");
            return (Criteria) this;
        }

        public Criteria andScheduleBetween(Byte value1, Byte value2) {
            addCriterion("schedule between", value1, value2, "schedule");
            return (Criteria) this;
        }

        public Criteria andScheduleNotBetween(Byte value1, Byte value2) {
            addCriterion("schedule not between", value1, value2, "schedule");
            return (Criteria) this;
        }

        public Criteria andDispatchFeeIsNull() {
            addCriterion("dispatch_fee is null");
            return (Criteria) this;
        }

        public Criteria andDispatchFeeIsNotNull() {
            addCriterion("dispatch_fee is not null");
            return (Criteria) this;
        }

        public Criteria andDispatchFeeEqualTo(BigDecimal value) {
            addCriterion("dispatch_fee =", value, "dispatchFee");
            return (Criteria) this;
        }

        public Criteria andDispatchFeeNotEqualTo(BigDecimal value) {
            addCriterion("dispatch_fee <>", value, "dispatchFee");
            return (Criteria) this;
        }

        public Criteria andDispatchFeeGreaterThan(BigDecimal value) {
            addCriterion("dispatch_fee >", value, "dispatchFee");
            return (Criteria) this;
        }

        public Criteria andDispatchFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("dispatch_fee >=", value, "dispatchFee");
            return (Criteria) this;
        }

        public Criteria andDispatchFeeLessThan(BigDecimal value) {
            addCriterion("dispatch_fee <", value, "dispatchFee");
            return (Criteria) this;
        }

        public Criteria andDispatchFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("dispatch_fee <=", value, "dispatchFee");
            return (Criteria) this;
        }

        public Criteria andDispatchFeeIn(List<BigDecimal> values) {
            addCriterion("dispatch_fee in", values, "dispatchFee");
            return (Criteria) this;
        }

        public Criteria andDispatchFeeNotIn(List<BigDecimal> values) {
            addCriterion("dispatch_fee not in", values, "dispatchFee");
            return (Criteria) this;
        }

        public Criteria andDispatchFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("dispatch_fee between", value1, value2, "dispatchFee");
            return (Criteria) this;
        }

        public Criteria andDispatchFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("dispatch_fee not between", value1, value2, "dispatchFee");
            return (Criteria) this;
        }

        public Criteria andPackageFeeIsNull() {
            addCriterion("package_fee is null");
            return (Criteria) this;
        }

        public Criteria andPackageFeeIsNotNull() {
            addCriterion("package_fee is not null");
            return (Criteria) this;
        }

        public Criteria andPackageFeeEqualTo(BigDecimal value) {
            addCriterion("package_fee =", value, "packageFee");
            return (Criteria) this;
        }

        public Criteria andPackageFeeNotEqualTo(BigDecimal value) {
            addCriterion("package_fee <>", value, "packageFee");
            return (Criteria) this;
        }

        public Criteria andPackageFeeGreaterThan(BigDecimal value) {
            addCriterion("package_fee >", value, "packageFee");
            return (Criteria) this;
        }

        public Criteria andPackageFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("package_fee >=", value, "packageFee");
            return (Criteria) this;
        }

        public Criteria andPackageFeeLessThan(BigDecimal value) {
            addCriterion("package_fee <", value, "packageFee");
            return (Criteria) this;
        }

        public Criteria andPackageFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("package_fee <=", value, "packageFee");
            return (Criteria) this;
        }

        public Criteria andPackageFeeIn(List<BigDecimal> values) {
            addCriterion("package_fee in", values, "packageFee");
            return (Criteria) this;
        }

        public Criteria andPackageFeeNotIn(List<BigDecimal> values) {
            addCriterion("package_fee not in", values, "packageFee");
            return (Criteria) this;
        }

        public Criteria andPackageFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("package_fee between", value1, value2, "packageFee");
            return (Criteria) this;
        }

        public Criteria andPackageFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("package_fee not between", value1, value2, "packageFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeIsNull() {
            addCriterion("other_fee is null");
            return (Criteria) this;
        }

        public Criteria andOtherFeeIsNotNull() {
            addCriterion("other_fee is not null");
            return (Criteria) this;
        }

        public Criteria andOtherFeeEqualTo(BigDecimal value) {
            addCriterion("other_fee =", value, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeNotEqualTo(BigDecimal value) {
            addCriterion("other_fee <>", value, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeGreaterThan(BigDecimal value) {
            addCriterion("other_fee >", value, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("other_fee >=", value, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeLessThan(BigDecimal value) {
            addCriterion("other_fee <", value, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("other_fee <=", value, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeIn(List<BigDecimal> values) {
            addCriterion("other_fee in", values, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeNotIn(List<BigDecimal> values) {
            addCriterion("other_fee not in", values, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("other_fee between", value1, value2, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("other_fee not between", value1, value2, "otherFee");
            return (Criteria) this;
        }

        public Criteria andShopDescIsNull() {
            addCriterion("shop_desc is null");
            return (Criteria) this;
        }

        public Criteria andShopDescIsNotNull() {
            addCriterion("shop_desc is not null");
            return (Criteria) this;
        }

        public Criteria andShopDescEqualTo(String value) {
            addCriterion("shop_desc =", value, "shopDesc");
            return (Criteria) this;
        }

        public Criteria andShopDescNotEqualTo(String value) {
            addCriterion("shop_desc <>", value, "shopDesc");
            return (Criteria) this;
        }

        public Criteria andShopDescGreaterThan(String value) {
            addCriterion("shop_desc >", value, "shopDesc");
            return (Criteria) this;
        }

        public Criteria andShopDescGreaterThanOrEqualTo(String value) {
            addCriterion("shop_desc >=", value, "shopDesc");
            return (Criteria) this;
        }

        public Criteria andShopDescLessThan(String value) {
            addCriterion("shop_desc <", value, "shopDesc");
            return (Criteria) this;
        }

        public Criteria andShopDescLessThanOrEqualTo(String value) {
            addCriterion("shop_desc <=", value, "shopDesc");
            return (Criteria) this;
        }

        public Criteria andShopDescLike(String value) {
            addCriterion("shop_desc like", value, "shopDesc");
            return (Criteria) this;
        }

        public Criteria andShopDescNotLike(String value) {
            addCriterion("shop_desc not like", value, "shopDesc");
            return (Criteria) this;
        }

        public Criteria andShopDescIn(List<String> values) {
            addCriterion("shop_desc in", values, "shopDesc");
            return (Criteria) this;
        }

        public Criteria andShopDescNotIn(List<String> values) {
            addCriterion("shop_desc not in", values, "shopDesc");
            return (Criteria) this;
        }

        public Criteria andShopDescBetween(String value1, String value2) {
            addCriterion("shop_desc between", value1, value2, "shopDesc");
            return (Criteria) this;
        }

        public Criteria andShopDescNotBetween(String value1, String value2) {
            addCriterion("shop_desc not between", value1, value2, "shopDesc");
            return (Criteria) this;
        }

        public Criteria andOpenAdsIsNull() {
            addCriterion("open_ads is null");
            return (Criteria) this;
        }

        public Criteria andOpenAdsIsNotNull() {
            addCriterion("open_ads is not null");
            return (Criteria) this;
        }

        public Criteria andOpenAdsEqualTo(Byte value) {
            addCriterion("open_ads =", value, "openAds");
            return (Criteria) this;
        }

        public Criteria andOpenAdsNotEqualTo(Byte value) {
            addCriterion("open_ads <>", value, "openAds");
            return (Criteria) this;
        }

        public Criteria andOpenAdsGreaterThan(Byte value) {
            addCriterion("open_ads >", value, "openAds");
            return (Criteria) this;
        }

        public Criteria andOpenAdsGreaterThanOrEqualTo(Byte value) {
            addCriterion("open_ads >=", value, "openAds");
            return (Criteria) this;
        }

        public Criteria andOpenAdsLessThan(Byte value) {
            addCriterion("open_ads <", value, "openAds");
            return (Criteria) this;
        }

        public Criteria andOpenAdsLessThanOrEqualTo(Byte value) {
            addCriterion("open_ads <=", value, "openAds");
            return (Criteria) this;
        }

        public Criteria andOpenAdsIn(List<Byte> values) {
            addCriterion("open_ads in", values, "openAds");
            return (Criteria) this;
        }

        public Criteria andOpenAdsNotIn(List<Byte> values) {
            addCriterion("open_ads not in", values, "openAds");
            return (Criteria) this;
        }

        public Criteria andOpenAdsBetween(Byte value1, Byte value2) {
            addCriterion("open_ads between", value1, value2, "openAds");
            return (Criteria) this;
        }

        public Criteria andOpenAdsNotBetween(Byte value1, Byte value2) {
            addCriterion("open_ads not between", value1, value2, "openAds");
            return (Criteria) this;
        }

        public Criteria andOpenAreashowIsNull() {
            addCriterion("open_areashow is null");
            return (Criteria) this;
        }

        public Criteria andOpenAreashowIsNotNull() {
            addCriterion("open_areashow is not null");
            return (Criteria) this;
        }

        public Criteria andOpenAreashowEqualTo(Byte value) {
            addCriterion("open_areashow =", value, "openAreashow");
            return (Criteria) this;
        }

        public Criteria andOpenAreashowNotEqualTo(Byte value) {
            addCriterion("open_areashow <>", value, "openAreashow");
            return (Criteria) this;
        }

        public Criteria andOpenAreashowGreaterThan(Byte value) {
            addCriterion("open_areashow >", value, "openAreashow");
            return (Criteria) this;
        }

        public Criteria andOpenAreashowGreaterThanOrEqualTo(Byte value) {
            addCriterion("open_areashow >=", value, "openAreashow");
            return (Criteria) this;
        }

        public Criteria andOpenAreashowLessThan(Byte value) {
            addCriterion("open_areashow <", value, "openAreashow");
            return (Criteria) this;
        }

        public Criteria andOpenAreashowLessThanOrEqualTo(Byte value) {
            addCriterion("open_areashow <=", value, "openAreashow");
            return (Criteria) this;
        }

        public Criteria andOpenAreashowIn(List<Byte> values) {
            addCriterion("open_areashow in", values, "openAreashow");
            return (Criteria) this;
        }

        public Criteria andOpenAreashowNotIn(List<Byte> values) {
            addCriterion("open_areashow not in", values, "openAreashow");
            return (Criteria) this;
        }

        public Criteria andOpenAreashowBetween(Byte value1, Byte value2) {
            addCriterion("open_areashow between", value1, value2, "openAreashow");
            return (Criteria) this;
        }

        public Criteria andOpenAreashowNotBetween(Byte value1, Byte value2) {
            addCriterion("open_areashow not between", value1, value2, "openAreashow");
            return (Criteria) this;
        }

        public Criteria andOpenSingleshowIsNull() {
            addCriterion("open_singleshow is null");
            return (Criteria) this;
        }

        public Criteria andOpenSingleshowIsNotNull() {
            addCriterion("open_singleshow is not null");
            return (Criteria) this;
        }

        public Criteria andOpenSingleshowEqualTo(Byte value) {
            addCriterion("open_singleshow =", value, "openSingleshow");
            return (Criteria) this;
        }

        public Criteria andOpenSingleshowNotEqualTo(Byte value) {
            addCriterion("open_singleshow <>", value, "openSingleshow");
            return (Criteria) this;
        }

        public Criteria andOpenSingleshowGreaterThan(Byte value) {
            addCriterion("open_singleshow >", value, "openSingleshow");
            return (Criteria) this;
        }

        public Criteria andOpenSingleshowGreaterThanOrEqualTo(Byte value) {
            addCriterion("open_singleshow >=", value, "openSingleshow");
            return (Criteria) this;
        }

        public Criteria andOpenSingleshowLessThan(Byte value) {
            addCriterion("open_singleshow <", value, "openSingleshow");
            return (Criteria) this;
        }

        public Criteria andOpenSingleshowLessThanOrEqualTo(Byte value) {
            addCriterion("open_singleshow <=", value, "openSingleshow");
            return (Criteria) this;
        }

        public Criteria andOpenSingleshowIn(List<Byte> values) {
            addCriterion("open_singleshow in", values, "openSingleshow");
            return (Criteria) this;
        }

        public Criteria andOpenSingleshowNotIn(List<Byte> values) {
            addCriterion("open_singleshow not in", values, "openSingleshow");
            return (Criteria) this;
        }

        public Criteria andOpenSingleshowBetween(Byte value1, Byte value2) {
            addCriterion("open_singleshow between", value1, value2, "openSingleshow");
            return (Criteria) this;
        }

        public Criteria andOpenSingleshowNotBetween(Byte value1, Byte value2) {
            addCriterion("open_singleshow not between", value1, value2, "openSingleshow");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andQrCodeIsNull() {
            addCriterion("qr_code is null");
            return (Criteria) this;
        }

        public Criteria andQrCodeIsNotNull() {
            addCriterion("qr_code is not null");
            return (Criteria) this;
        }

        public Criteria andQrCodeEqualTo(String value) {
            addCriterion("qr_code =", value, "qrCode");
            return (Criteria) this;
        }

        public Criteria andQrCodeNotEqualTo(String value) {
            addCriterion("qr_code <>", value, "qrCode");
            return (Criteria) this;
        }

        public Criteria andQrCodeGreaterThan(String value) {
            addCriterion("qr_code >", value, "qrCode");
            return (Criteria) this;
        }

        public Criteria andQrCodeGreaterThanOrEqualTo(String value) {
            addCriterion("qr_code >=", value, "qrCode");
            return (Criteria) this;
        }

        public Criteria andQrCodeLessThan(String value) {
            addCriterion("qr_code <", value, "qrCode");
            return (Criteria) this;
        }

        public Criteria andQrCodeLessThanOrEqualTo(String value) {
            addCriterion("qr_code <=", value, "qrCode");
            return (Criteria) this;
        }

        public Criteria andQrCodeLike(String value) {
            addCriterion("qr_code like", value, "qrCode");
            return (Criteria) this;
        }

        public Criteria andQrCodeNotLike(String value) {
            addCriterion("qr_code not like", value, "qrCode");
            return (Criteria) this;
        }

        public Criteria andQrCodeIn(List<String> values) {
            addCriterion("qr_code in", values, "qrCode");
            return (Criteria) this;
        }

        public Criteria andQrCodeNotIn(List<String> values) {
            addCriterion("qr_code not in", values, "qrCode");
            return (Criteria) this;
        }

        public Criteria andQrCodeBetween(String value1, String value2) {
            addCriterion("qr_code between", value1, value2, "qrCode");
            return (Criteria) this;
        }

        public Criteria andQrCodeNotBetween(String value1, String value2) {
            addCriterion("qr_code not between", value1, value2, "qrCode");
            return (Criteria) this;
        }

        public Criteria andSortWeightIsNull() {
            addCriterion("sort_weight is null");
            return (Criteria) this;
        }

        public Criteria andSortWeightIsNotNull() {
            addCriterion("sort_weight is not null");
            return (Criteria) this;
        }

        public Criteria andSortWeightEqualTo(Integer value) {
            addCriterion("sort_weight =", value, "sortWeight");
            return (Criteria) this;
        }

        public Criteria andSortWeightNotEqualTo(Integer value) {
            addCriterion("sort_weight <>", value, "sortWeight");
            return (Criteria) this;
        }

        public Criteria andSortWeightGreaterThan(Integer value) {
            addCriterion("sort_weight >", value, "sortWeight");
            return (Criteria) this;
        }

        public Criteria andSortWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("sort_weight >=", value, "sortWeight");
            return (Criteria) this;
        }

        public Criteria andSortWeightLessThan(Integer value) {
            addCriterion("sort_weight <", value, "sortWeight");
            return (Criteria) this;
        }

        public Criteria andSortWeightLessThanOrEqualTo(Integer value) {
            addCriterion("sort_weight <=", value, "sortWeight");
            return (Criteria) this;
        }

        public Criteria andSortWeightIn(List<Integer> values) {
            addCriterion("sort_weight in", values, "sortWeight");
            return (Criteria) this;
        }

        public Criteria andSortWeightNotIn(List<Integer> values) {
            addCriterion("sort_weight not in", values, "sortWeight");
            return (Criteria) this;
        }

        public Criteria andSortWeightBetween(Integer value1, Integer value2) {
            addCriterion("sort_weight between", value1, value2, "sortWeight");
            return (Criteria) this;
        }

        public Criteria andSortWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("sort_weight not between", value1, value2, "sortWeight");
            return (Criteria) this;
        }

        public Criteria andShopPhoneIsNull() {
            addCriterion("shop_phone is null");
            return (Criteria) this;
        }

        public Criteria andShopPhoneIsNotNull() {
            addCriterion("shop_phone is not null");
            return (Criteria) this;
        }

        public Criteria andShopPhoneEqualTo(String value) {
            addCriterion("shop_phone =", value, "shopPhone");
            return (Criteria) this;
        }

        public Criteria andShopPhoneNotEqualTo(String value) {
            addCriterion("shop_phone <>", value, "shopPhone");
            return (Criteria) this;
        }

        public Criteria andShopPhoneGreaterThan(String value) {
            addCriterion("shop_phone >", value, "shopPhone");
            return (Criteria) this;
        }

        public Criteria andShopPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("shop_phone >=", value, "shopPhone");
            return (Criteria) this;
        }

        public Criteria andShopPhoneLessThan(String value) {
            addCriterion("shop_phone <", value, "shopPhone");
            return (Criteria) this;
        }

        public Criteria andShopPhoneLessThanOrEqualTo(String value) {
            addCriterion("shop_phone <=", value, "shopPhone");
            return (Criteria) this;
        }

        public Criteria andShopPhoneLike(String value) {
            addCriterion("shop_phone like", value, "shopPhone");
            return (Criteria) this;
        }

        public Criteria andShopPhoneNotLike(String value) {
            addCriterion("shop_phone not like", value, "shopPhone");
            return (Criteria) this;
        }

        public Criteria andShopPhoneIn(List<String> values) {
            addCriterion("shop_phone in", values, "shopPhone");
            return (Criteria) this;
        }

        public Criteria andShopPhoneNotIn(List<String> values) {
            addCriterion("shop_phone not in", values, "shopPhone");
            return (Criteria) this;
        }

        public Criteria andShopPhoneBetween(String value1, String value2) {
            addCriterion("shop_phone between", value1, value2, "shopPhone");
            return (Criteria) this;
        }

        public Criteria andShopPhoneNotBetween(String value1, String value2) {
            addCriterion("shop_phone not between", value1, value2, "shopPhone");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}